//---------------------------------------------------------------------------

#ifndef CPModCtrSocH
#define CPModCtrSocH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHGridEd.h"
#include <Grids.hpp>
#include "Word_2K_SRVR.h"
#include <Dialogs.hpp>
#include <OleServer.hpp>
#include <Mask.hpp>
//---------------------------------------------------------------------------
class TCPModCtrSoc1 : public TCadPad1
{
__published:	// IDE-managed Components
 PHGridEdit *PHGridEdit1;
 TSpeedButton *SpeedButton22;
 TWordApplication *WAP1;
 TWordDocument *WD1;
 TSaveDialog *SV1;
 void __fastcall PHDS1AfterOpen(TObject *Sender);
 void __fastcall SpeedButton22Click(TObject *Sender);
 void __fastcall PHDS1BeforePost(TObject *Sender);
 void __fastcall PHDS1BeforeCancel(TObject *Sender);
 void __fastcall PHDS1StateChange(Estados State);
 void __fastcall PHDS1BeforeDelete(TObject *Sender);
 void __fastcall WAP1Quit(TObject *Sender);
 void __fastcall FormDestroy(TObject *Sender);
private:	// User declarations
   struct MCTSOC *Mod;
   void __fastcall CapturaArquivo(TObject *Sender);
public:		// User declarations
 __fastcall TCPModCtrSoc1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TCPModCtrSoc1 *CPModCtrSoc1;
//---------------------------------------------------------------------------
#endif
